phy: rockchip: naneng-combphy: compatible reset with old DT
authorChukun Pan <amadeus@jmu.edu.cn>
Mon, 6 Jan 2025 10:00:01 +0000 (18:00 +0800)
committerSalvatore Bonaccorso <carnil@debian.org>
Sat, 1 Mar 2025 16:57:27 +0000 (17:57 +0100)
commit2bb3d79ea5eaae8f1b578b145cdd13fbb45f9cd1
tree108f3039f920cd7476f13a55d07a9c105539130c
parent2a9236ab2e2b5e818b7905a4105ab757f81b7501
phy: rockchip: naneng-combphy: compatible reset with old DT

Origin: https://web.git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=3126ea9be66b53e607f87f067641ba724be24181
Origin: https://git.kernel.org/linus/3126ea9be66b53e607f87f067641ba724be24181
Bug-Debian: https://bugs.debian.org/1095745

The device tree of RK3568 did not specify reset-names before.
So add fallback to old behaviour to be compatible with old DT.

Fixes: fbcbffbac994 ("phy: rockchip: naneng-combphy: fix phy reset")
Cc: Jianfeng Liu <liujianfeng1994@gmail.com>
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Reviewed-by: Jonas Karlman <jonas@kwiboo.se>
Link: https://lore.kernel.org/r/20250106100001.1344418-2-amadeus@jmu.edu.cn
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Gbp-Pq: Topic bugfix/arm64
Gbp-Pq: Name phy-rockchip-naneng-combphy-compatible-reset-with-ol.patch
drivers/phy/rockchip/phy-rockchip-naneng-combphy.c